export class UploadImgInfo {
    id = "";
    imageUrl = "";
}

export interface CompanyTreeInfo {
    title: string;
    key: number | string;
    disabled: boolean;
    children: CompanyTreeInfo[];
}

export class Department {
    id = "";
    parentId = "";
    orgId = "";
    name = "";
    description = "";
}

export interface DepartmentTreeInfo extends CompanyTreeInfo {
    dataId: string;
}

export class User {
    id = "";
    name = "";
    phone = "";
    email? = "";
    idCardNumber = "";
    orgId = "";
    departmentId: any = "";
    roleId: any = undefined;
    beDepartHead = false;
    onTheJob = true;
    canBuyMedia = undefined;
    state: 0 | 1 = 0; // 1 禁用
    sex: 0 | 1 | 2 = 0; // 0：未知   1：男性  2：女性
    userDataType = "my";
    orgDataIds: string[] = [];
    canUpMediaGoods = undefined;
}
